Reading GO enrichment object
en_body = readRDS(here::here('data/enGo_body.Rds'))
Level 3 blocks
goplot_list = llply(en_body$summary$Name[en_body$summary$Nested_Level==3],
XGR_plot, en_body$XGR, en_body$summary)
## [1] "0-2"
## [1] "1-1"
## [1] "2-2"
## [1] "3-2"
names(goplot_list) = en_body$summary$Name[en_body$summary$Nested_Level==3]
0-2 - Biological Regulation, Cell Cycle, Transcription

1-1 - Cell Respiration, Krebs Cycle, Translation, Muscle Development

3-2 - Immune response, eggshell chorion assembly

Probing some interesting blocks
Cell Cycle, Regulation of macromolecules
0-0-2
## [1] "0-0-2"

Overall: Gorilla 0-0-2
- 0 - regulation of cellular process, regulation of transcription, cell cycle process, mRNA splicing Gorilla
- 22 - regulation of G2/M transition of mitotic cell cycle (weak) Gorilla
- 47 - cell cycle process, chromatin organization, reproductive process, eggshell chorion gene amplification Gorilla
- 56 - mitotic cell cycle phase transition, regulation of cyclin-dependent protein kinase activity Gorilla
6-0-2
## [1] "6-0-2"

Overall: Gorilla 6-0-2
- 6 - regulation of cell cycle process, regulation of cellular metabolic process Gorilla
- 8 - regulation of gene expression, regulation of metabolic process Gorilla
- 11 - regulation of primary metabolic process Gorilla
- 19 - regulation of biological process Gorilla
Translation and Cell respiration (really mixed together!)
1-1-1-1
## [1] "1-1-1"

Overall: Gorilla 1-1-1
- 1 - cytoplasmic translation, cellular macromolecule biosynthetic process Gorilla
- 9 - cytoplasmic translation, ribosomal small subunit assembly Gorilla
- 40 - respiratory electron transport chain, mitochondrial electron transport, NADH to ubiquinone Gorilla
11-1-1
## [1] "11-1-1"

Overall: Gorilla 11-1-1
- 23 - respiratory electron transport chain, ketone biosynthetic process Gorilla
- 39 - cytoplasmic translation, [peptide|amide] biosynthetic process, macromolecule biosynthetic process Gorilla
- 43 - cytoplasmic translation, mitochondrial electron transport, cytochrome c to oxygen Gorilla
- 52 - mitochondrial electron transport, ubiquinol to cytochrome c Gorilla
- 53 - cytoplasmic translation, macromolecule biosynthetic process Gorilla
9-1-1
## [1] "9-1-1"

Overall: Gorilla 9-1-1
- 17 - cytoplasmic translation Gorilla
- 37 - oxidation-reduction process (weak) Gorilla
- 41 - transmembrane transport (weak) Gorilla
- 48 - tricarboxylic acid cycle Gorilla
- 49 - ATP synthesis coupled proton transport Gorilla
Block summary table:
dplyr::select(en_body$summary, Nested_Level, Name, N_genes, Internal_degree, Assortatitvity, p.adjust, n_enrich)